package com.ciaojian.worker.model.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author oxiny
 */
@Data
@Builder
public class BadCommentParam {
    @ApiModelProperty("发型师ID")
    @NotNull
    private Integer workerId;

    @ApiModelProperty("订单创建时间 yyyy-MM")
    @NotNull
    @DateTimeFormat(pattern = "yyyy-MM")
    private Date date;

    @Builder.Default
    private Integer pageNo = 0;

    @Builder.Default
    private Integer pageSize = 10;
}
